package com.cskaoyan.mapper.wx;

import com.cskaoyan.bean.wx.WxTopic;
import com.cskaoyan.bean.wx.WxTopicExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxTopicMapper {
    long countByExample(WxTopicExample example);

    int deleteByExample(WxTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxTopic record);

    int insertSelective(WxTopic record);

    List<WxTopic> selectByExampleWithBLOBs(WxTopicExample example);

    List<WxTopic> selectByExample(WxTopicExample example);

    WxTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxTopic record, @Param("example") WxTopicExample example);

    int updateByExampleWithBLOBs(@Param("record") WxTopic record, @Param("example") WxTopicExample example);

    int updateByExample(@Param("record") WxTopic record, @Param("example") WxTopicExample example);

    int updateByPrimaryKeySelective(WxTopic record);

    int updateByPrimaryKeyWithBLOBs(WxTopic record);

    int updateByPrimaryKey(WxTopic record);
}
